package org.example.domain.responseEntity;

import com.sun.org.apache.bcel.internal.classfile.Code;
import lombok.AllArgsConstructor;

/**
 * TODO
 *
 * @Description
 * @Author ZW
 * @Date 2023/5/19 21:32
 **/
@AllArgsConstructor
public enum ResponseEnum {
    //返回报文枚举头类
    OK(200,"响应成功"),
    ERROR(500,"错误")
    ;
    private final Integer code;
    private final String message;

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
